/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package idea.model.qnrlibrary;


import java.io.Serializable;
import java.math.BigInteger;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
import javax.persistence.Table;
import javax.xml.bind.annotation.XmlRootElement;


/**
 *
 * @author rejun001
 */
@Entity
@Table( name = "custom_response_de_view" )
@XmlRootElement
@NamedQueries( 
{
    @NamedQuery( name = "CustomResponseDeView.findAll" , query = "SELECT c FROM CustomResponseDeView c" ) ,
    @NamedQuery( name = "CustomResponseDeView.findByResponseId" , query = "SELECT c FROM CustomResponseDeView c WHERE c.responseId = :responseId" ) ,
    @NamedQuery( name = "CustomResponseDeView.findByDeId" , query = "SELECT c FROM CustomResponseDeView c WHERE c.deId = :deId" ) ,
    @NamedQuery( name = "CustomResponseDeView.findByItemId" , query = "SELECT c FROM CustomResponseDeView c WHERE c.itemId = :itemId" ) ,
    @NamedQuery( name = "CustomResponseDeView.findByAgIdPaper" , query = "SELECT c FROM CustomResponseDeView c WHERE c.agIdPaper = :agIdPaper" ) ,
    @NamedQuery( name = "CustomResponseDeView.findByAgIdElectronic" , query = "SELECT c FROM CustomResponseDeView c WHERE c.agIdElectronic = :agIdElectronic" ) ,
    @NamedQuery( name = "CustomResponseDeView.findByOccurrenceSequence" , query = "SELECT c FROM CustomResponseDeView c WHERE c.occurrenceSequence = :occurrenceSequence" ) ,
    @NamedQuery( name = "CustomResponseDeView.findByDeName" , query = "SELECT c FROM CustomResponseDeView c WHERE c.deName = :deName" ) ,
    @NamedQuery( name = "CustomResponseDeView.findByPaperAgName" , query = "SELECT c FROM CustomResponseDeView c WHERE c.paperAgName = :paperAgName" ) ,
    @NamedQuery( name = "CustomResponseDeView.findByElectronicAgName" , query = "SELECT c FROM CustomResponseDeView c WHERE c.electronicAgName = :electronicAgName" ) ,
    @NamedQuery( name = "CustomResponseDeView.findByKeycode" , query = "SELECT c FROM CustomResponseDeView c WHERE c.keycode = :keycode" ),
    @NamedQuery( name = "CustomResponseDeView.findByResponseLabel" , query = "SELECT c FROM CustomResponseDeView c WHERE c.responseLabel = :responseLabel" ),
    @NamedQuery( name = "CustomResponseDeView.findByResponseInstruction" , query = "SELECT c FROM CustomResponseDeView c WHERE c.responseInstruction = :responseInstruction" )
} )
public class CustomResponseDeView implements Serializable
{
    private static final long serialVersionUID = 1L;
    @Id
    @Basic( optional = false )
    @Column( name = "response_id" )
    private String responseId;
    @Column( name = "de_id" )
    private String deId;
    @Column( name = "item_id" )
    private String itemId;
    @Column( name = "ag_id_paper" )
    private String agIdPaper;
    @Column( name = "ag_id_electronic" )
    private String agIdElectronic;
    @Column( name = "occurrence_sequence" )
    private BigInteger occurrenceSequence;
    @Column( name = "de_name" )
    private String deName;
    @Column( name = "paper_ag_name" )
    private String paperAgName;
    @Column( name = "electronic_ag_name" )
    private String electronicAgName;
    @Column( name = "keycode" )
    private String keycode;
    @Column( name = "response_label" )
    private String responseLabel;
    @Column( name = "response_instruction" )
    private String responseInstruction;
    


    public CustomResponseDeView()
    {
    }


    public String getResponseId()
    {
        return responseId;
    }


    public void setResponseId( String responseId )
    {
        this.responseId = responseId;
    }


    public String getDeId()
    {
        return deId;
    }


    public void setDeId( String deId )
    {
        this.deId = deId;
    }


    public String getItemId()
    {
        return itemId;
    }


    public void setItemId( String itemId )
    {
        this.itemId = itemId;
    }


    public String getAgIdPaper()
    {
        return agIdPaper;
    }


    public void setAgIdPaper( String agIdPaper )
    {
        this.agIdPaper = agIdPaper;
    }


    public String getAgIdElectronic()
    {
        return agIdElectronic;
    }


    public void setAgIdElectronic( String agIdElectronic )
    {
        this.agIdElectronic = agIdElectronic;
    }


    public BigInteger getOccurrenceSequence()
    {
        return occurrenceSequence;
    }


    public void setOccurrenceSequence( BigInteger occurrenceSequence )
    {
        this.occurrenceSequence = occurrenceSequence;
    }


    public String getDeName()
    {
        return deName;
    }


    public void setDeName( String deName )
    {
        this.deName = deName;
    }


    public String getPaperAgName()
    {
        return paperAgName;
    }


    public void setPaperAgName( String paperAgName )
    {
        this.paperAgName = paperAgName;
    }


    public String getElectronicAgName()
    {
        return electronicAgName;
    }


    public void setElectronicAgName( String electronicAgName )
    {
        this.electronicAgName = electronicAgName;
    }


    public String getKeycode()
    {
        return keycode;
    }


    public void setKeycode( String keycode )
    {
        this.keycode = keycode;
    }


    public String getResponseLabel()
    {
        return responseLabel;
    }


    public void setResponseLabel( String responseLabel )
    {
        this.responseLabel = responseLabel;
    }


    public String getResponseInstruction()
    {
        return responseInstruction;
    }


    public void setResponseInstruction( String responseInstruction )
    {
        this.responseInstruction = responseInstruction;
    }
    
}
